import React, { Component } from 'react';
var image = require('../public/1.png');
var tag = require('../public/tag.png');

export default class ShowCase extends Component {
    constructor(props) {
        super(props);

    }
    static defaultProps = {
    }
    render() {
        const { data } = this.props;
        console.log('showCase data: ', data);
        return (
            <div className="showCase">
                <img src={data.showcase_cover} width="250" height="220"/>
                <p>{data.showcase_name_label}</p>
                <img src={tag} />&#160;&#160;<span>{data.showcase_tag_label}</span>
            </div>
        )
    }
} 